package com.hyt.it.ogt.kq.service.bm.model.vo;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hyt.core.jackson.deserializer.StringToSetDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Set;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class NoOpenParam extends Page {

    @ApiModelProperty(value = "项目id")
    private String projectId;

    @ApiModelProperty(value = "姓名")
    private String studentName;

    @ApiModelProperty(value = "证件类型:1：大陆居民身份证 ，2： 港澳居民身份证 3 ：护照 ")
    private String cardType;

    @ApiModelProperty(value = "证件号码")
    private String cardNum;

    @ApiModelProperty(value = "报名状态：0：未报名，1：已报名")
    private String bmStatus;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "部门id")
    private String deptId;

    @ApiModelProperty(value = "部门ID集合")
    private Set<String> deptIds;

    @ApiModelProperty(value = "父级id")
    private String ancestors;

    @JsonDeserialize(using = StringToSetDeserializer.class)
    @ApiModelProperty(value = "科目ID")
    private Set<String> subjectIds;

}
